﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LimaLims.Application.Service.Sys.Dto;
using LimaLims.Core;
using Microsoft.AspNetCore.Mvc;

namespace LimaLims.Application.Service.Sys
{
    /// <summary>
    /// 系统站内信
    /// </summary>
    public interface ISysMessageService
    {
        Task<int> GetUserMessageCount();

        Task Set(long id, bool isRead);

        Task Delete(long id);

        Task AddSysMessage(AddSysMessageInput input);

        Task<PageResult<SysMessageOutput>> QueryPage([FromQuery] SysMessagePageInput input);
    }
}
